package com.yuandian.management.mapper;

import com.yuandian.api.business_monitor.po.SearchParams;
import com.yuandian.api.management.entity.ConfMenuMapping;
import com.yuandian.bpm.common.data.datascope.BpmBaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 菜单映射关系表-Mapper接口
 * @author zfsn
 * @date 2023-4-18
 */
@Mapper
public interface ConfMenuMappingMapper extends BpmBaseMapper<ConfMenuMapping> {


	/**
	 * 查询菜单并装换成 Map<菜单ID, 菜单名称>
	 *
	 * @param params
	 * @return 搜索选项vo对象集合
	 */
	List<Map<String, String>> getMenuMap(@Param("params") SearchParams params);
}
